import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router'
import pinia from './store'

import '@/styles/index.styl' // global css
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

import '@/router/permission'

const app = createApp(App)
app.use(pinia).use(router).mount('#app')
app.use(ElementPlus, { zIndex: 3000 , locale: zhCn })